<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
    <head>
        <?php $this -> display($tpl_tbl['html_header_tpl']); ?>
    </head>
<body>
<div id="toplevel">

	<div id="page-header">
		<?php $this -> display($tpl_tbl['page_header_tpl']); ?>
	</div>

	<div id="main-menu">
		<?php $this -> display($tpl_tbl['main_menu_tpl']); ?>
	</div>
	
	<div id="content">
		<div id="navbar">
			<?php $this -> display($tpl_tbl['navbar_tpl']); ?>
		</div>
		<?php
			if ($tpl_vars['content_tpl']) {
				$this -> display($tpl_vars['content_tpl']);
			}
		?>
	</div>
	<br class="clearboth" />
	<div id="footer">
		Powered by <a href="http://www.club-site.pl">Club-Site</a>
	</div>

</div>

<?php
if (isset($tpl_vars['cs_params']['debug']) && $tpl_vars['cs_params']['debug']) {
	display_console(); 
}
?>
</body>
</html>
